package com.wwh.furns.dao;

import com.wwh.furns.entity.Member;

/**
 * @author Albert
 * @date 2024/5/10-21:08
 * @describe
 */
public interface MemberDAO {
    //通过用户名返回对应的Member
    public Member queryMemberByUsername(String username);

    //保存Member对象到数据库/表 Member表
    public int saveMember(Member member);

    //通过用户名和密码返回对应的member
    public Member queryMemberByUsernameAndPassword(String username, String password);
}
